package com.mallcloud.mall.mall.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mallcloud.mall.common.data.datascope.MallBaseMapper;
import com.mallcloud.mall.mall.api.entity.MallPointsProductRedeemRecordModel;
import com.mallcloud.mall.mall.api.entity.vo.MallPointsProductRedeemRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 积分商品兑换记录表
 */
@Mapper
public interface MallPointsProductRedeemRecordMapper extends MallBaseMapper<MallPointsProductRedeemRecordModel> {

	IPage<MallPointsProductRedeemRecordVO> pagePointsProductRedeemRecord(Page page, @Param("query") MallPointsProductRedeemRecordModel dto);

	List<MallPointsProductRedeemRecordVO> pagePointsProductRedeemRecord(@Param("query") MallPointsProductRedeemRecordModel dto);

}
